package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.ChinaCity;
import com.nys.cqhttp.model.ChinaCityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ChinaCityMapper {
    long countByExample(ChinaCityExample example);

    int deleteByExample(ChinaCityExample example);

    int insert(ChinaCity record);

    int insertSelective(ChinaCity record);

    List<ChinaCity> selectByExample(ChinaCityExample example);

    int updateByExampleSelective(@Param("record") ChinaCity record, @Param("example") ChinaCityExample example);

    int updateByExample(@Param("record") ChinaCity record, @Param("example") ChinaCityExample example);
}